package com.qf.ithub.movie_demo01;

import com.qf.ithub.common.config.Swagger2Config;
import com.qf.ithub.common.exception.ControllerExceptionAdvice;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;

/**
 * @author : xixi
 * @Title :
 * @date :  2021-03-15 21:01
 */
@SpringBootApplication
@MapperScan("com.qf.ithub.movie_demo01.mapper")
@Import({
        ControllerExceptionAdvice.class,
        Swagger2Config.class
})
public class MovieApplication {
    public static void main(String[] args) {
        SpringApplication.run(MovieApplication.class,args);
    }
}
